import Aurelia from 'aurelia';
import { RouterConfiguration } from '@aurelia/router';
import { MyApp } from './my-app';

Aurelia
  .register(
    RouterConfiguration.customize({
      useUrlFragmentHash: true,
      useHref: false,
      title: '文档格式转换器 - Word/Markdown/PDF互转工具',
      titleSeparator: ' - '
    })
  )
  .app(MyApp)
  .start()
  .catch(error => {
    console.error('Aurelia startup error:', error);
  });
